{template header}

<div class="midder">

<h1 style="margin-top:40px;">小组话题搜索: {$q}</h1>

<div class="qi_c_c">
<div class="qi_c_cleft">

<div class="infobox">
    <div class="ex1"><span></span></div>
    <div class="bd">
		<form style="text-align: center;" name="group_search">
            <input type="text" value="{$q}" name="q" style="width: 350px; font-size: 14px; margin-bottom: 5px;" class="input_basic" gtbfieldid="7">
			
			<input type="hidden" name="app" value="group" />
			<input type="hidden" name="ac" value="search" />
				<input type="submit" class="butt" name="ts" value="搜索话题" style="margin: 0pt 3px;">
    	</form>
</div>
    <div class="ex2"><span></span></div>
</div>
<div class="search_nav">
    <a href="#">
        按照时间排序
    </a> 
    &nbsp;/&nbsp;
    按照相关度排序
</div>

<table class="olt">
<thead>
    <th>话题</th>
    <th>小组</th>
    <th>作者</th>
    <th nowrap="nowrap" style="text-align: right;">回应</th>
    <th style="text-align: right;">发帖时间</th>
</thead>
<tbody>

<!--{loop $arrTopic $key $item}-->
<tr class="pl">
    <td><a href="index.php?app=group&ac=topic&topicid={$item[topicid]}">{$item[title]}</a></td>
    <td><a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}">{$item[groupname]}</a></td>
    <td><a href="index.php?app=user&ac=space&userid={$item[userid]}">{$item[username]}</a></td>
    <td align="right">{$item[count_comment]}</td>
    <td align="right" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;{php echo date('m-d H:i',$item[addtime])}
	</td>
</tr>
<!--{/loop}-->

</tbody>
</table>

</div>

<div class="qi_c_cright">

<p class="pl2">&gt; <a href="index.php?app=group&ac=search&ts=搜索小组&q={$q}">搜索包含"{$q}"的小组</a></p>

<p class="pl2">&gt; <a href="index.php?app=group">回到小组首页</a></p>

</div>
</div>
</div>


{template footer}